<template>
	<view>
		<tabBar :pagePath="'/pages/index/index'" :type='type'></tabBar>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				tabbar:[],
				type:2,
			}
		},
		methods: {
			onLoad(){
					// tabbar 的值跟你的项目有关，这里只是举例子
					this.tabbar = [{
							
							text: '组件',
							count: 2,
							isDot: true,
							pagePath: "/pages/index/index"
						},
						
						{
							text: '模板',
							pagePath: "/pages/template/template"
						},
					];
				},
		}
	}
</script>

<style>

</style>
